home *** CD-ROM | disk | FTP | other *** search
/ Mac Cube 4: Multimedia Applications / MacCube Volume 4: Multimedia Applications.iso / Graphics / POV Ray / POVSOURCE / SOURCE / ProgressDialog.h < prev    next >
Text File  |  1994-02-04  |  3KB  |  78 lines

  1. /*
  2. ==============================================================================
  3. Project:    POV-Ray
  4.  
  5. Version:    2.2
  6.  
  7. File Name:    ProgressDialog.h
  8.  
  9. Description:
  10.     General-purpose progress bar handling for dialogs.
  11.  
  12.     This is the header file, containing the public definitions for
  13.     the useful external functions.
  14.  
  15. Related Files:
  16.     ProgressDialog.c    - Main implementation for these routines
  17. ------------------------------------------------------------------------------
  18. Author:
  19.     Eduard [esp] Schwan
  20. ------------------------------------------------------------------------------
  21.     from Persistence of Vision Raytracer
  22.     Copyright 1993 Persistence of Vision Team
  23. ------------------------------------------------------------------------------
  24.     NOTICE: This source code file is provided so that users may experiment
  25.     with enhancements to POV-Ray and to port the software to platforms other 
  26.     than those supported by the POV-Ray Team.  There are strict rules under
  27.     which you are permitted to use this file.  The rules are in the file
  28.     named POVLEGAL.DOC which should be distributed with this file. If 
  29.     POVLEGAL.DOC is not available or for more info please contact the POV-Ray
  30.     Team Coordinator by leaving a message in CompuServe's Graphics Developer's
  31.     Forum.  The latest version of POV-Ray may be found there as well.
  32.  
  33.     This program is based on the popular DKB raytracer version 2.12.
  34.     DKBTrace was originally written by David K. Buck.
  35.     DKBTrace Ver 2.0-2.12 were written by David K. Buck & Aaron A. Collins.
  36. ------------------------------------------------------------------------------
  37. More Info:
  38.     This Macintosh version of POV-Ray was created and compiled by Jim Nitchals
  39.     (Think 5.0) and Eduard Schwan (MPW 3.2), based (loosely) on the original
  40.     port by Thomas Okken and David Lichtman, with some help from Glenn Sugden.
  41.  
  42.     For bug reports regarding the Macintosh version, you should contact:
  43.     Eduard [esp] Schwan
  44.         CompuServe: 71513,2161
  45.         Internet: jl.tech@applelink.apple.com
  46.         AppleLink: jl.tech
  47.     Jim Nitchals
  48.         Compuserve: 73117,3020
  49.         America Online: JIMN8
  50.         Internet: jimn8@aol.com -or- jimn8@applelink.apple.com
  51.         AppleLink: JIMN8
  52. ------------------------------------------------------------------------------
  53. Change History:
  54.     920820    [esp]    Created
  55.     920920    [esp]    changed highestVal from int to long
  56.     930619    [esp]    added dispose fn
  57.     931001    [esp]    version 2.0 finished (Released on 10/4/93)
  58.     931119    [djh]    brought into conformance with PPCC header requirements
  59. ==============================================================================
  60. */
  61.  
  62. #if !defined(PROGRESSDIALOG_H)
  63. #define PROGRESSDIALOG_H
  64.  
  65.  
  66. #include <dialogs.h>    // DialogPtr
  67.  
  68.  
  69. DialogPtr    GetNewProgressDialog(short theDialogID, short theProgressItemNum);
  70.  
  71. void        updateProgressDialog(DialogPtr pDialogPtr, long lowestVal, long highestVal, long currentVal);
  72.  
  73. void        disposeProgressDialog(DialogPtr pDialogPtr);
  74.  
  75.  
  76. #endif // PROGRESSDIALOG_H
  77.  
  78.